var obj={
	onShow(){
		if(uni.getStorageSync("storage_key")){
			
		}else{
			uni.showModal({
			    title: '未登录',
			    content: '请的登录',
			    success: function (res) {
			        if (res.confirm) {
			           uni.navigateTo({
			               url: '/pages/mine/login/login'
			           });
			        } else if (res.cancel) {
			            console.log('用户点击取消');
			        }
			    }
			});
		}
	}
}

export default obj
